<?
$image = $arResult["PROPERTIES"]["PHOTOS"]["VALUE"][0];
$image = CFile::GetPath($image);

$image = $APPLICATION->IncludeComponent("soulstream:imager", "", Array(
									 "MODE" => "3",
									 "RETURN" => "src",
									 "FILTERTYPE" => "",
									 "RESIZE_SMALL" => "Y",
									 "IMAGE" => $image,
									 "FILE_NAME" => "",
									 "SAVE_DIR" => "/upload/imager/",
									 "WIDTH" => "63",
									 "HEIGHT" => "63",
									 "BG" => "",
									 "QUALITY" => "75",
									 "ADD_WATERMARK" => "N",
									 "WATERMARK_PATH" => "",
									 "WATERMARK_POSITION" => "",
									 "ADD_CORNER" => "N",
									 "CORNER_PATH" => "",
									 "ADD_TEXT" => "N",
									 "TEXT" => "",
									 "TEXT_SIZE" => "12",
									 "TEXT_COLOR" => "#000000",
									 "TEXT_Y" => "10",
									 "TEXT_X" => "10",
									 "TEXT_POSITION" => "br",
									 "TEXT_ANGLE" => "15",
									 "FONT_PATH" => "/imager/arial.ttf",
									 "CACHE_IMAGE" => "Y",
									 "DEBUG" => "N"
											), false, array("HIDE_ICONS"=>"Y"));
$arResult["PREVIEW_PICTURE"] = $image;

?>